package com.cw.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.alibaba.excel.annotation.ExcelProperty;

/**
* @author ly
* @since 2021-06-22
*/
@ApiModel(value ="请求其他系统的记录表")
@Data
    @EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("REQUEST_LOG")
public class RequestLog implements Serializable {

private static final long serialVersionUID = 1L;


    @TableId("ID")
    private String id;

    @ApiModelProperty(value = "请求的系统")
    @ExcelProperty(value = "REQUEST_SYSTEM")
    @TableField("REQUEST_SYSTEM")
    private String requestSystem;

    @ApiModelProperty(value = "请求的地址")
    @ExcelProperty(value = "REQUEST_URL")
    @TableField("REQUEST_URL")
    private String requestUrl;

    @ApiModelProperty(value = "请求参数")
    @ExcelProperty(value = "REQUEST_PARAM")
    @TableField("REQUEST_PARAM")
    private String requestParam;

    @ApiModelProperty(value = "接口返回值")
    @ExcelProperty(value = "RESULT_PARAM")
    @TableField("RESULT_PARAM")
    private String resultParam;

    @ApiModelProperty(value = "状态编码")
    @ExcelProperty(value = "RESULT_CODE")
    @TableField("RESULT_CODE")
    private String resultCode;

    @ApiModelProperty(value = "请求时间")
    @ExcelProperty(value = "REQUEST_TIME")
    @TableField("REQUEST_TIME")
    private LocalDateTime requestTime;
}
